/** WebSysStaff*/
const pre = '/WebSysStaff'
export default ({ request, moduleName }) => ({


  
      /**
  * @description 新建用户  post /api/WebSysStaff/AddSysStaff
  
  */
  API_WEBSYSSTAFF_ADDSYSSTAFF_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/AddSysStaff`,
      method: 'post',
      headers:{'Content-Type':'application/json',
       ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
  
      /**
  * @description 修改用户  post /api/WebSysStaff/UpdateSysStaff
  
  */
  API_WEBSYSSTAFF_UPDATESYSSTAFF_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/UpdateSysStaff`,
      method: 'post',
      headers:{'Content-Type':'application/json',
       ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
  
      /**
  * @description 删除用户信息  post /api/WebSysStaff/DelSysStaff
  
  */
  API_WEBSYSSTAFF_DELSYSSTAFF_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/DelSysStaff`,
      method: 'post',
      headers:{'Content-Type':'application/json',
       ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
  
      /**
  * @description 查询用户信息列表（分页）  post /api/WebSysStaff/GetSysStaffList
  
  */
  API_WEBSYSSTAFF_GETSYSSTAFFLIST_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetSysStaffList`,
      method: 'post',
      headers:{'Content-Type':'application/json',
       ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
  
      /**
  * @description 查询用户信息  post /api/WebSysStaff/GetSysStaff
  
  */
  API_WEBSYSSTAFF_GETSYSSTAFF_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetSysStaff`,
      method: 'post',
      headers:{'Content-Type':'application/json',
       ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
  
      /**
  * @description 获取系统所有角色  post /api/WebSysStaff/GetRoleList
  
  */
  API_WEBSYSSTAFF_GETROLELIST_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetRoleList`,
      method: 'post',
      headers:{'Content-Type':'',
       ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
  
  //导出用户列表   post /api/WebSysStaff/ExportSysStaffItem
  API_WEBSYSSTAFF_EXPORTSYSSTAFFITEM_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/ExportSysStaffItem`,
      method: 'post',
      headers:{'Content-Type':'application/json',
       ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 上传人员EXCEL获取人员id  POST /api/WebSysStaff/StaffCodeList

   */
  API_WEBSYSSTAFF_STAFFCODETOIDLIST_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/StaffCodeList`,
      method: 'post',
      headers:{'Content-Type':'',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 参训人员模板下载  GET /api/WebSysStaff/GetStaffCodeModel

   */
  API_WEBSYSSTAFF_GETSTAFFCODEMODEL_GET({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetStaffCodeModel`,
      method: 'get',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 上传人员邮箱EXCEL获取人员id  POST /api/WebSysStaff/StaffEmailList

   */
  API_WEBSYSSTAFF_STAFFEMAILLIST_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/StaffEmailList`,
      method: 'post',
      headers:{'Content-Type':'',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 人员邮箱模板下载  GET /api/WebSysStaff/GetStaffEmailModel

   */
  API_WEBSYSSTAFF_GETSTAFFEMAILMODEL_GET({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetStaffEmailModel`,
      method: 'get',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 根据父级获取厂家部门  POST /api/WebSysStaff/GetCompanyDepartmentByPid

   */
  API_WEBSYSSTAFF_GETCOMPANYDEPARTMENTBYPID_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetCompanyDepartmentByPid`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 保存厂家部门信息  POST /api/WebSysStaff/SaveCompanyDepartment

   */
  API_WEBSYSSTAFF_SAVECOMPANYDEPARTMENT_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/SaveCompanyDepartment`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 获取厂家部门树  GET /api/WebSysStaff/GeCompanyDepartmentTree

   */
  API_WEBSYSSTAFF_GECOMPANYDEPARTMENTTREE_GET({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GeCompanyDepartmentTree`,
      method: 'get',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 获取厂家岗位部门树  GET /api/WebSysStaff/GetCompanyJobDepartmentTree

   */
  API_WEBSYSSTAFF_GECOMPANYJOBDEPARTMENTTREE_GET({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetCompanyJobDepartmentTree`,
      method: 'get',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 删除部门  GET /api/WebSysStaff/DeleteCompanyDepartment/{id}

   */
  API_WEBSYSSTAFF_DELETECOMPANYDEPARTMENT_GET({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/DeleteCompanyDepartment/${path}`,
      method: 'get',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 查询厂家岗位分页列表  POST /api/WebSysStaff/GetCompanyJobList

   */
  API_WEBSYSSTAFF_GETCOMPANYJOBLIST_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetCompanyJobList`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 导出厂家岗位  POST /api/WebSysStaff/ExportCompanyJobList

   */
  API_WEBSYSSTAFF_EXPORTCOMPANYJOBLIST_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/ExportCompanyJobList`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 查询厂家岗位  POST /api/WebSysStaff/GetCompanyJobById

   */
  API_WEBSYSSTAFF_GETCOMPANYJOBBYID_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetCompanyJobById`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 禁用岗位  POST /api/WebSysStaff/DisableCompanyJob

   */
  API_WEBSYSSTAFF_DISABLECOMPANYJOB_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/DisableCompanyJob`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 保存更新  POST /api/WebSysStaff/SaveCompanyJob

   */
  API_WEBSYSSTAFF_SAVECOMPANYJOB_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/SaveCompanyJob`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

  /**
   * @description 删除岗位  POST /api/WebSysStaff/DeleteCompanyJob

   */
  API_WEBSYSSTAFF_DELETECOMPANYJOB_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/DeleteCompanyJob`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },
  /**
   * @description 查询岗位启用列表  POST /api/WebSysStaff/GetCompanyJob

   */
  API_WEBSYSSTAFF_GETCOMPANYJOB_POST({body=undefined,param=undefined,header=undefined,path=undefined,config=undefined}={}) {
    // 接口请求
    return request({
      url: `${moduleName + pre}/GetCompanyJob`,
      method: 'post',
      headers:{'Content-Type':'application/json',
        ...header
      },
      data:body,
      params:param,
      ...config
    })
  },

})
